export const PageItem = {
  title: '自理能力信息评估表',
  commUrl: 'https://anfine.huasun-healthcare.com:80/api/assess_icf/assessIcfFuncInfo',
}

// ICF功能信息字段配置
export const assessIcfFuncFields = {
  assessid: { show: true, label: '全面评估ID', edit: true, type: 'text', required: true },
  name: { show: true, label: '姓名', edit: true, type: 'text', readonly: false, required: true },
  idNumber: { show: true, label: '证件号码', edit: true, type: 'text', readonly: false, required: true },
  
  // 功能评估相关字段
  badlDsc: { show: true, label: '日常生活活动能力', edit: true, type: 'textarea' },
  cogDsc: { show: true, label: '认知功能', edit: true, type: 'textarea' },
  degDsc: { show: true, label: '吞咽功能', edit: true, type: 'textarea' },
  excrDsc: { show: true, label: '排泄功能', edit: true, type: 'textarea' },
  feelDsc: { show: true, label: '感觉功能', edit: true, type: 'textarea' },
  langDsc: { show: true, label: '语言/非语言表达', edit: true, type: 'textarea' },
  moveDsc: { show: true, label: '躯体活动和移动功能', edit: true, type: 'textarea' },
  scDsc: { show: true, label: '社会能力', edit: true, type: 'textarea' },
  
  // Barthel指数评分相关字段
  barthelEat: { show: true, label: 'Barthel指数评分-进食评分', edit: true, type: 'number', min: 0, max: 10 },
  barthelShower: { show: true, label: 'Barthel指数评分-洗澡评分', edit: true, type: 'number', min: 0, max: 5 },
  barthelUd: { show: true, label: 'Barthel指数评分-上下楼梯评分', edit: true, type: 'number', min: 0, max: 10 },
  barthelSum: { show: true, label: 'Barthel指数评分-总分', edit: true, type: 'number', min: 0, max: 100 },
  barthelLevel: { show: true, label: 'Barthel指数评分-评估等级', edit: true, type: 'picker', dictCode: 'barthel_level' },
  barthelOther: { show: true, label: 'Barthel指数评分-其他', edit: true, type: 'textarea' },
  
  // 其他字段
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  
  // 系统字段
  createTime: { show: true, label: '创建时间', edit: false, type: 'datetime' },
  createBy: { show: true, label: '创建人', edit: false, type: 'text' },
  updateTime: { show: true, label: '修改时间', edit: false, type: 'datetime' },
  updateBy: { show: true, label: '修改人', edit: false, type: 'text' },
  id: { show: false, label: '主键ID', edit: false, type: 'text' }
}
